
def main():
	reverse_print_nn(9)


def reverse_print_nn(n):
	for i in range(n, 0, -1):
		for j in range(1, i + 1):
			print(f"{j}*{i}={i * j:2d}", end="  ")
		print()

main()